package com.couldsail.takeaway.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_spec_options")
public class ProductSpecOptions {
    @TableId(value = "id")
    private String id;
    @TableField("spec_id")
    private String specId;
    @TableField("option_value")
    private String optionValue;
    private Double price;
    @TableField(value = "is_selected")
    private Integer isSelected;
    @TableField("created_at")
    private DateTimeFormat createdAt;
    @TableField("updated_at")
    private DateTimeFormat updatedAt;
}
